package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.nr.fulfill.logistics.consign response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallNrFulfillLogisticsConsignResponse extends TaobaoResponse {

	private static final long serialVersionUID = 7169975599983638332L;

	/** 
	 * result
	 */
	@ApiField("result")
	private NrResult result;


	public void setResult(NrResult result) {
		this.result = result;
	}
	public NrResult getResult( ) {
		return this.result;
	}
	
	/**
 * resultData
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrStoreGoodsReadyRespDto extends TaobaoObject {

	private static final long serialVersionUID = 5899365423256494251L;

	/**
		 * 取消码
		 */
		@ApiField("cancel_code")
		private String cancelCode;
		/**
		 * 发货公司
		 */
		@ApiField("company_name")
		private String companyName;
		/**
		 * 发货单号
		 */
		@ApiField("company_order_no")
		private String companyOrderNo;
		/**
		 * 取件码
		 */
		@ApiField("got_code")
		private String gotCode;
		/**
		 * 核销码
		 */
		@ApiField("ma_code")
		private String maCode;
		/**
		 * 主订单号
		 */
		@ApiField("main_order_id")
		private Long mainOrderId;
		/**
		 * 根据门店+sellerId按日期生成从1到N的数据
		 */
		@ApiField("short_id")
		private String shortId;
	

	public String getCancelCode() {
			return this.cancelCode;
		}
		public void setCancelCode(String cancelCode) {
			this.cancelCode = cancelCode;
		}
		public String getCompanyName() {
			return this.companyName;
		}
		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}
		public String getCompanyOrderNo() {
			return this.companyOrderNo;
		}
		public void setCompanyOrderNo(String companyOrderNo) {
			this.companyOrderNo = companyOrderNo;
		}
		public String getGotCode() {
			return this.gotCode;
		}
		public void setGotCode(String gotCode) {
			this.gotCode = gotCode;
		}
		public String getMaCode() {
			return this.maCode;
		}
		public void setMaCode(String maCode) {
			this.maCode = maCode;
		}
		public Long getMainOrderId() {
			return this.mainOrderId;
		}
		public void setMainOrderId(Long mainOrderId) {
			this.mainOrderId = mainOrderId;
		}
		public String getShortId() {
			return this.shortId;
		}
		public void setShortId(String shortId) {
			this.shortId = shortId;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrResult extends TaobaoObject {

	private static final long serialVersionUID = 5461983427567988586L;

	/**
		 * errorCode
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * errorMessage
		 */
		@ApiField("error_message")
		private String errorMessage;
		/**
		 * isSuccess
		 */
		@ApiField("is_success")
		private Boolean isSuccess;
		/**
		 * resultData
		 */
		@ApiField("result_data")
		private NrStoreGoodsReadyRespDto resultData;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMessage() {
			return this.errorMessage;
		}
		public void setErrorMessage(String errorMessage) {
			this.errorMessage = errorMessage;
		}
		public Boolean getIsSuccess() {
			return this.isSuccess;
		}
		public void setIsSuccess(Boolean isSuccess) {
			this.isSuccess = isSuccess;
		}
		public NrStoreGoodsReadyRespDto getResultData() {
			return this.resultData;
		}
		public void setResultData(NrStoreGoodsReadyRespDto resultData) {
			this.resultData = resultData;
		}

}



}
